<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<input  id="input" type="text" value="Java JS"/><br/>
		<input type="button" onclick="clickMe()" value="点我" />
		<!-- <button onclick="clickMe()">点我</button> -->
		
		<script type="text/javascript">
			function clickMe() {
				console.log("clickMe");
				var input1 = document.getElementById("input")
				console.log(input1);
				console.log(input1.value);
				console.log(input1.id);
				console.log(input1.type);
			}
		</script>
	</body>
</html>